require 'random'

class Galaxy
  attr_reader :planets
  
  @@planets_in_universe = 256
  
  def Galaxy.generate_from_seed(seed)
    planets = Array.new
    @@planets_in_universe.times { planets.push(Planet.new(seed))}
    return Galaxy.new(planets)
  end
  
  def initialize(planets)
    @planets = planets
  end
  
end
